<%@ page language="java" import="java.util.*" pageEncoding="utf-8"
	contentType="text/html; charset=utf-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<base href="<%=basePath%>">
<title>${site_title }--编辑用户</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="${site_keywords }">
<meta http-equiv="description" content="${site_description }">
<c:import url="/res/resLoader_admin.jsp"></c:import>
<script type="text/javascript" src="manage/user/userFunctionTree.js"></script>
<link rel='stylesheet' type='text/css' href='<%=basePath %>res/css/tree.css'/>
</head>
<body>
	<form action="" method="post">
		<table class="form_table">
			<tbody>
				<tr>
					<td class="label">用户编号：</td>
					<td>
						<c:choose>
							<c:when test="${typeFlag eq 'add' }">
								<input type="text" name="loginName" value='<c:out value="${user.loginName }"/>' size="30">
							</c:when>
							<c:otherwise>
								<input type="hidden" name="loginName" value='<c:out value="${user.loginName }"/>'>
								<c:out value="${user.loginName }"></c:out>
							</c:otherwise>
						</c:choose>
					</td>
				</tr>
				<tr>
					<td class="label">用户名：</td>
					<td>
						<input type="text" name="name" value='<c:out value="${user.name }"/>' size="30">
					</td> 
				</tr>
				<tr>
					<td class="label">用户备注：</td>
					<td>
						<input type="text" name="remark" value='<c:out value="${user.remark }"/>' size="30">
					</td> 
				</tr>
				<tr>
					<td class="label">年龄：</td>
					<td>
						<input type="text" name="age" value='<c:out value="${user.age }"/>' size="30">
					</td> 
				</tr>
				<tr>
					<td class="label">E-mail：</td>
					<td>
						<input type="text" name="email" value='<c:out value="${user.email }"/>' size="30">
					</td> 
				</tr>
				<tr>
					<td class="label">过期日期：</td>
					<td>
						<input type="text" name="expireDate" value='<c:out value="${user.expireDate }"/>' size="30">
					</td> 
				</tr>
				<tr>
					<td class="label">所属机构：</td>
					<td>
						<input type="text" name="orgCode" value='<c:out value="${user.orgCode }"/>' size="30">
					</td> 
				</tr>
				<tr>
					<td class="label">用户等级：</td>
					<td>
						<input type="text" name="levelNo" value='<c:out value="${user.levelNo }"/>' size="30">
					</td> 
				</tr>
				<tr>
					<td class="label">修改密码标志：</td>
					<td>
						<select name="changePwd">
							<option value="1" <c:if test="${user.changePwd eq 1 }">selected="selected"</c:if>>是</option>
							<option value="0" <c:if test="${user.changePwd ne 1 }">selected="selected"</c:if>>否</option>
						</select>
					</td> 
				</tr>
				<tr>
					<td class="label">性别：</td>
					<td>
						<select name="sex">
							<option value="1" <c:if test="${user.sex eq 1 }">selected="selected"</c:if>>男</option>
							<option value="0" <c:if test="${user.sex ne 1 }">selected="selected"</c:if>>女</option>
						</select>
					</td> 
				</tr>
				<tr>
					<td class="label">帐户锁定标志：</td>
					<td>
						<select name="lockStatus">
							<option value="1" <c:if test="${user.lockStatus eq 1 }">selected="selected"</c:if>>是</option>
							<option value="0" <c:if test="${user.lockStatus ne 1 }">selected="selected"</c:if>>否</option>
						</select>
					</td> 
				</tr>
				<tr>
					<td class="label">帐户停用标志：</td>
					<td>
						<select name="stopFlag">
							<option value="1" <c:if test="${user.stopFlag eq 1 }">selected="selected"</c:if>>是</option>
							<option value="0" <c:if test="${user.stopFlag ne 1 }">selected="selected"</c:if>>否</option>
						</select>
					</td> 
				</tr>
				<tr>
					<td class="label">用户证件号：</td>
					<td>
						<input type="text" name="idCardNo" value='<c:out value="${user.idCardNo }"/>' size="30">
					</td> 
				</tr>
				<tr>
					<td class="label">联系电话：</td>
					<td>
						<input type="text" name="mobileNo" value='<c:out value="${user.mobileNo }"/>' size="30">
					</td> 
				</tr>
				<tr>
					<td class="label">接收短信标志：</td>
					<td>
						<select name="acceptSms">
							<option value="1" <c:if test="${user.acceptSms eq 1 }">selected="selected"</c:if>>是</option>
							<option value="0" <c:if test="${user.acceptSms ne 1 }">selected="selected"</c:if>>否</option>
						</select>
					</td> 
				</tr>
				<tr>
					<td class="label">接收邮件标志：</td>
					<td>
						<select name="acceptEmail">
							<option value="1" <c:if test="${user.acceptEmail eq 1 }">selected="selected"</c:if>>是</option>
							<option value="0" <c:if test="${user.acceptEmail ne 1 }">selected="selected"</c:if>>否</option>
						</select>
					</td> 
				</tr>
				<tr>
					<td class="label">联系地址：</td>
					<td>
						<input type="text" name="contactAddress" value='<c:out value="${user.contactAddress }"/>' size="30">
					</td> 
				</tr>
				<tr>
					<td class="label">原地址：</td>
					<td>
						<input type="text" name="address" value='<c:out value="${user.address }"/>' size="30">
					</td> 
				</tr>
			</tbody>
		</table>
		<input type="hidden" name="parentId" value="${tree.parentId }">
	</form>
</body>
</html>
